﻿using HECore.Account.Contract.Models.Account.Dtos;
using HECore.Account.Contract.Models.Account.Inputs;
using Refit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HECore.Account.Share
{
    /// <summary>
    /// 账号
    /// </summary>
    public interface IAccountService
    {
        /// <summary>
        /// 登录
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        [Post("/api/account/login")]
        Task<AccountDto> Login([Body] AccountLoginInput input);
    }
}
